package com.ds.base.msg;

import com.ds.base.msg.model.Brand;
import com.ds.base.msg.model.BrandAttachment;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;

/**
 * 品牌备案
 */
public class BrandFilingMsg extends ACBTPostMsg {


    private Long id;

    @NotNull(message = "tradeCode不能为空")
    @Valid
    private String tradeCode;

    private Brand brand;

    private BrandAttachment attachment;
    /**
     * 操作编码 no
     */
    @NotNull(message = "operationCode不能为空")
    private String operationCode;

    //扩展
    /**
     * 扩展 1 yes
     */
    private String spt1;
    /**
     * 扩展 2 yes
     */
    private String spt2;
    /**
     * 扩展 3 yes
     */
    private String spt3;
    //扩展 end






    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getOperationCode() {
        return operationCode;
    }

    public void setOperationCode(String operationCode) {
        this.operationCode = operationCode;
    }

    public String getSpt1() {
        return spt1;
    }

    public void setSpt1(String spt1) {
        this.spt1 = spt1;
    }

    public String getSpt2() {
        return spt2;
    }

    public void setSpt2(String spt2) {
        this.spt2 = spt2;
    }

    public String getSpt3() {
        return spt3;
    }

    public void setSpt3(String spt3) {
        this.spt3 = spt3;
    }


    public String getTradeCode() {
        return tradeCode;
    }

    public void setTradeCode(String tradeCode) {
        this.tradeCode = tradeCode;
    }

    public Brand getBrand() {
        return brand;
    }

    public void setBrand(Brand brand) {
        this.brand = brand;
    }

    public BrandAttachment getAttachment() {
        return attachment;
    }

    public void setAttachment(BrandAttachment attachment) {
        this.attachment = attachment;
    }

    @Override
    public String getReqUrl() {
        return "http://202.101.61.211:8087/ciqInterface/brand/brandlist.htm";
    }
 }
